var swingNames = JavaImporter();   
  
swingNames.importPackage(Packages.java.lang);   
swingNames.importPackage(Packages.com.lwq.view);   
obj = {a:1, b:['x','y']}   
with (swingNames) {   
	function getWidth()   
	{   
		return CenterEditorView.getInstance().getPaintWidth();
	}   
}    

function log1(msg)   
{   
 java.lang.System.out.println("in function log: " + msg);   
}   


